Government will pass temporary legislation suspending the effect of a Supreme Court decision which ruled covert camera surveillance by police unlawful.
The bill will pass next week under urgency, Prime Minister John Key said.
A permanent fix would be included as part of the search and surveillance bill due to pass after the election.
Mr Key said speed was essential because the ruling in the Ureweras case would have jeopardised police investigations.
He said the Crown Law Office advised Cabinet it meant almost all use of covert video surveillance was unlawful.