The building department of every city and city and county shall enforce this chapter within the city or city and county.
“Building department” means the department, bureau, or officer charged with the enforcement of laws or ordinances regulating the erection, construction, or alteration of buildings.