Sub-contractors in the construction industry will still be able to get paid in the event of a Mainzeal-like collapse under a bill which passed into law this afternoon.
The Government moved to close a gap in the law after the large construction company failed in 2013, owing $18 million to hundreds of sub-contractors.
Property developers would now be required to hold "retention payments" on trust, which would ensure that workers were paid even if a project failed.
Building and Construction Minister Nick Smith said the management of risk in the building sector had favoured developers and main contractors at the expense of small businesses which did the bulk of construction work.
Dr Smith said Mainzeal Property and Construction's collapse illustrated the need for a law change.