The governing body of any city is hereby authorized to create, by ordinance, a lien in favor of any such city in the proceeds of any insurance policy based upon a covered claim payment made for damage or loss to a building or other structure. The lien arises upon any unpaid tax, special ad valorem levy, special assessment or other charge imposed upon real property by or on behalf of the city which is an encumbrance on real property, whether or not evidenced by written instrument, or such tax, levy, assessment, expense or other charge that has remained undischarged for at least one year prior to the filing of a proof of loss.
K.S.A. 40-3902