The order to correct a code violation and the sanctions imposed by a municipality against a respondent property owner as the result of a finding of a code violation under this Division shall attach to the property as well as the owner of the property, so that the finding of a code violation against one owner cannot be avoided by conveying or transferring the property to another owner. Any subsequent transferee or owner of property takes subject to the findings, decision and order of a hearing officer under this Division if a notice consisting of a copy of the order to correct a code violation and imposing any sanctions and costs, if applicable, and a description of the real estate affected sufficient for the identification thereof, has been filed in the office of the Recorder or the office of the Registrar of Titles in the county in which such real estate is located by the municipality prior to the transfer or conveyance to the subsequent transferee or owner.
65 ILCS 5/11-19.2-10