Following the initial or periodic inspection of a residential rental dwelling unit found to be deteriorated or in the process of deteriorating and that is subject to a residential rental inspection ordinance, and provided that there are no violations of applicable codes and ordinances, or violations are remedied in a timely manner, the public authority shall provide to the owner or party in interest of the residential rental dwelling unit an exemption from the residential rental inspection ordinance for a minimum of four (4) years. For the purposes of this section, timely manner shall be construed to mean less than ninety (90) days after the owner has been given notice of violation. If a residential rental dwelling unit has been issued a certificate of occupancy within the last four (4) years, an exemption shall be granted for a minimum period of four (4) years from the date of the issuance of the certificate of occupancy by the public authority. If the residential rental dwelling unit becomes in violation of local housing, building, plumbing, electrical, fire, health or related codes during the exemption period, the public authority may revoke the exemption granted by this section.
T.C.A. § 13-21-308