218.7.
(a) (1) A direct contractor making or taking a contract in the state for the erection, construction, alteration, or repair of a building, structure, or other work, shall assume, and is liable for, any debt owed to a wage claimant for labor incurred by a subcontractor or contractor acting under, by, or for the direct contractor in performing labor, construction, or other work included in the subject of the contract between the direct contractor and the owner.(2) The direct contractor’s liability shall extend to any wage, fringe or other benefit, trust fund contribution, workers’ compensation payment or contribution, damage, or penalty owed to a wage claimant.
(3) A direct contractor or any other person shall not evade, or commit any act that negates, the requirements of this section.
(b) A wage claimant may sue directly or through an assignee, including a multiemployer plan established under Section 1002 of Title 29 of the United States Code, for the debt described in subdivision (a).
(c) The district attorney of a county or prosecuting attorney of a city where the direct contractor resides or is found may institute a civil action against the direct contractor for the amount owed.
(d) Unless otherwise provided by law, property of the direct contractor may be attached for the payment of any judgment received pursuant to this section.
(e) An action brought pursuant to this section shall be filed
within one year of the date of completion of the work for which the labor was performed.
(f) This section does not apply to an employee of the state, a special district, a city, a county, or any political subdivision of the state.
(g) For purposes of this section, “direct contractor” and “subcontractor” have the same meanings as provided in Sections 8018 and 8046, respectively, of the Civil Code.