All fines collected under the provisions of this act shall be paid into the county treasury of the county in which the prosecution is brought, and it shall be the duty of the State's Attorneys in the respective counties to prosecute all persons violating or refusing to obey the provisions of this act.
410 ILCS 650/12