The legislation is the foundation of the new building safety regime for the construction sector.