The criminal complaint regarding a violation of Section 6505.5 may be brought by the Attorney General or by the district attorney or prosecuting attorney of any city, in the superior court of any county in the state with jurisdiction over the contractor or employer, by reason of the contractor’s or employer’s act or failure to act within that county. Any penalty assessed by the court shall be paid to the office of the prosecutor bringing the complaint, but if the case was referred to the prosecutor by the division, or some other governmental unit, one-half of the civil or criminal penalty assessed shall be paid to that governmental unit.