The district attorney, the city attorney, the county counsel if the district attorney does not bring an action, the Department of Rehabilitation acting through the Attorney General, or the Attorney General may bring an action to enjoin any violation of this part.