(a) Creation, duties. There shall be a building official who shall receive applications required by this division, issue permits and furnish the prescribed certificates. The official shall examine the buildings, equipment, appliances or systems for which permits have been issued and shall make necessary inspections to see that the provisions of the law and this division are met. The official shall enforce all laws relating to the construction, alteration, repair, installation, erection, removal demolition, use, location, and maintenance of buildings, equipment, appliances or systems, except as may be otherwise provided in other ordinances or regulatory measures. The official shall, when requested by proper authority, or when the interests of the county so require, make investigations in connection with matters referred to in this division and render written reports on the same. To enforce compliance with the law, to remove illegal or unsafe conditions or to secure the necessary safeguards, the official shall issue such notices or orders as may be necessary. (b) Inspections. (1) Inspections required under the provisions of this division shall be made by the building official or his duly authorized representative. Upon presentation of proper credentials, the official may enter, at reasonable times, any building, structure or premises in the county to perform any duty imposed upon him by this division. The building official or his authorized representative(s) are hereby authorized and directed to enforce all provisions of this division and issuing copies of charges and prosecution of any person or persons as may be charged with any violations of this or other ordinances of the county. (2) All installations of any equipment, appliance or system for which a permit has been issued as prescribed in this division shall be subject to inspection by the building official or his duly authorized representative(s). (c) Records. (1) The building official shall keep comprehensive records of applications, of permits issued, of inspections made, of reports rendered and of notices or orders issued. This official shall retain on file copies of required plans and all documents relating to equipment, appliances or systems for which a permit has been issued for a period of not less than two years after final inspection. (2) All such records shall be open to public inspection for good and sufficient reasons during office hours observed by the county but shall not be removed from the office of the building official.