(a) The governing body of a municipality may, by ordinance, establish a property registration for any real property improved by a structure that is uninhabitable and violates the applicable building code adopted by the municipality. An owner of real property subject to the registration shall be assessed a fee as provided by the ordinance.
(b) The mayor of the municipality shall appoint a code enforcement officer to investigate and determine whether real property violates provisions of the applicable building code of the municipality.
(c) After inspecting the property, if the officer determines the property is uninhabitable and violates the applicable building code, then:
(1) The officer shall post a written notice on the property which shall include: