Nothing contained in this section shall be construed to constitute a waiver of the sovereign immunity of the county or official immunity of any officer or employee thereof in carrying out the provisions of this section. No action shall be maintained against the county or any officer, elected officer, or employee thereof for damages sustained as a result of any fire or related hazard covered by this section by reason of any inspection or other action taken or not taken pursuant to this section. Nothing in this section shall be construed to relieve any property owner or lessee thereof from any legal duty, obligation or liability incidental to the ownership, maintenance and use of such property.