(a) If the public officer has the structure demolished, reasonable effort shall be made to salvage reusable materials for credit against the cost of demolition. The proceeds of any moneys received from the sale of salvaged materials shall be used or applied against the cost of the demolition and removal of the structure, and proper records shall be kept showing application of sales proceeds. Any such sale of salvaged materials may be made without the necessity of public advertisement and bid. The public officer and governing authority are relieved of any and all liability resulting from or occasioned by the sale of any such salvaged materials, including, without limitation, defects in such salvaged materials; and (b) That the amount of the cost of demolition, including all court costs, appraisal fees, administrative costs incurred by the county tax commissioner or municipal tax collector or city revenue officer, and all other costs necessarily associated with the abatement action, including restoration to grade of the real property after demolition, shall be a lien against the real property upon which such cost was incurred.