(a) Unless otherwise agreed, a landlord who conveys premises that include a dwelling unit subject to a rental agreement in a good faith sale to a bona fide purchaser is relieved of liability under the rental agreement and this chapter as to events occurring after written notice to the tenant of the conveyance. However, the landlord remains liable to the tenant for all security recoverable by the tenant under Section 35-9A-201 and all prepaid rent.
(b) Unless otherwise agreed, a manager of premises that include a dwelling unit is relieved of liability under the rental agreement and this chapter as to events occurring after written notice to the tenant of the termination of management by the manager.