Upon any threatened or continuing violation of any of the requirements listed in paragraphs (1) to (6), inclusive, of subdivision (a) of Section 13385, or upon the failure of any discharger into a public treatment system to comply with any cost or charge adopted by any public agency under Section 204(b) of the Federal Water Pollution Control Act, as amended, the Attorney General, upon the request of the state board or regional board shall petition the appropriate court for the issuance of a preliminary or permanent injunction, or both, as appropriate, restraining that person or persons from committing or continuing the violation. Subdivision (b) of Section 13331 shall be applicable to proceedings under this section.