(a) The county shall enforce within the geographical limits of the city all provisions of the city's building, plumbing, and electrical codes. The county shall make all inspections and issue all permits and orders required in such enforcement. (b) The county's enforcement of the city's codes shall include all of the duties prescribed in the city's ordinances regarding building regulations, including the determination of those matters placed within the jurisdiction of the board of appeals by the city's ordinances and the furnishing of the evidence necessary in any prosecution under the city's ordinances. In performing such work, the officers of the county assigned thereto shall have the powers and duties of building inspectors of the city.