(a) The proceeds of charges levied, assessed, and collected pursuant to this article upon the properties of every person operating or owning an interest in the production of a well shall be used exclusively for the support and maintenance of the department charged with the supervision of oil and gas operations.
(b) Notwithstanding subdivision (a), the proceeds of charges levied, assessed, and collected pursuant to this article upon the properties of every person operating or owning an interest in the production of a well undergoing a well stimulation treatment, may be used by public entities, subject to appropriation by the Legislature, for all costs associated with both of the following:
(1) Well stimulation treatments, including rulemaking and scientific studies required to evaluate the treatment, inspections, any air and water quality sampling, monitoring, and testing performed by public entities.
(2) The costs of the State Water Resources Control Board and the regional water quality control boards in carrying out their responsibilities pursuant to Section 3160 and Section 10783 of the Water Code.