of the damages and the cost of repair.
(d) Nothing in this section shall be construed by a court of law or otherwise as entitling the tenant, upon the termination of the tenancy, to an immediate credit against the tenant's delinquent rent account in the amount of the security deposit.
(e) The holder of the landlord's interest in the premises at the time of the termination of the tenancy, regardless of how the interest is acquired or transferred, is bound by this section and shall be required to return any security deposit received by the original landlord that is duly owed to the tenant. The provisions of this subsection apply whether or not such security deposit is transferred with the landlord's interest by law or equity, and regardless of any contractual agreements between the original landlord and his or her successors in interest.
(f) If the tenant has any assignee or sublessee, the landlord shall be entitled to hold a security deposit from only one party in compliance with the provisions of this section.
(g) For the purposes of this section, the delivery to a tenant of a security deposit and/or any notice prescribed by this section, may be accomplished by either personal delivery to the tenant, or by mailing the deposit and/or notice to the tenant's last known address or forwarding address as provided by the tenant. It shall be the responsibility of the tenant to provide an accurate address to the landlord. If personal delivery is not reasonably possible and a deposit or notice mailed to the tenant at his or her last known address or forwarding address provided is returned as non-deliverable, then the landlord shall hold the deposit or notice for the period of six months, to be personally delivered to the tenant, or his or her authorized agent or attorney, at the