(f) If the locks are changed under this section, a tenant, co-tenant or household member shall not voluntarily give the new key to the perpetrator. An owner who refuses to provide a key to any person based on the reasonable belief that such person is the perpetrator of alleged domestic violence, rape, sexual assault or stalking, shall not be liable for such refusal.
(g) An owner who takes action to prevent the tenant, co-tenant or household member who has complied with subsection (b) from changing the locks, or any owner who changes the locks but fails to make a good faith effort to provide a key to the tenant, co-tenant or household member requesting the lock change as provided in subsection (d), shall be liable for actual and consequential damages or 3 months' rent, whichever is greater, and the costs of the action, including reasonable attorneys' fees, all of which may be applied in setoff or recoupment against any claim for rent owed or owing for use and occupancy. Damages shall not be imposed if the court determines that the owner acted in good faith.