Notwithstanding Section 1.1, when a lessor transfers actual possession of a security deposit received from a lessee, including any statutory interest that has not been paid to a lessee, to a holder of the certificate of sale or deed issued pursuant to that certificate or, if no certificate or deed was issued, the purchaser of a foreclosed property under Article XV of the Code of Civil Procedure, the holder or purchaser shall be liable to a lessee for the transferred security deposit, including any statutory interest that has not been paid to the lessee, as provided in this Act. Within 21 days after the transfer of the security deposits and receipt of the name and address of any lessee who paid a deposit, the holder or purchaser shall post a written notice on the primary entrance of each dwelling unit at the property with respect to which the holder or purchaser has acquired actual possession of a security deposit. The written notice shall state that the holder or purchaser has acquired the security deposit paid by the lessee in connection with the lessee's rental of that dwelling unit.
765 ILCS 710/1.2