The Search and Surveillance Bill passed its third reading in Parliament last night, and is intended to give consistency to search, surveillance and seizure laws.
But Labour lost its battle to have the powers of the Serious Fraud Office included in the law and to have journalists exempted from powers that could compel them to reveal their sources.
It voted against it with the Greens, New Zealand First, Maori Party and Mana.
It said the SFO routinely used its internal powers compelling people to answer questions (examination orders) and compelling evidence to be produced (production orders) - such as demanding that the National Business Review hand over its material on South Canterbury Finance.
Labour believed it should be brought under the regime in the bill that required warrants before exercising such powers.