5. A contractor referred to in the first paragraph of section 2 must, before entering into a contract with a subcontractor referred to in the second paragraph of section 2, obtain a copy of the subcontractor’s attestation and ensure that it complies with the second paragraph of section 4.