; and (2) subject to subsection (g), may grant as relief, as the court finds appropriate, any permanent or temporary injunction, temporary restraining order, or other order (including an order enjoining the defendant from violating the Act or ordering such affirmative action as may be appropriate). (f) Violations For purposes of this section, a violation involving a covered dwelling unit that is not designed or constructed in accordance with this Act shall not be considered to terminate until the violation is corrected. (g) Attorney’s fees In any civil action brought under this section, the court, in its discretion, may allow the prevailing party, other than the United States, a reasonable attorney’s fee and costs. (h) Effect on certain sales, encumbrances, and rentals Relief granted under this section shall not affect any contract, sale, encumbrance, or lease consummated before the granting of the relief and involving a bona fide purchaser, encumbrancer, or tenant, without actual notice of a civil action under this section. 5. Effect on State laws Nothing in this Act shall be constructed to invalidate or limit any law of a State or political subdivision of a State, or of any other jurisdiction in which this Act shall be effective, that grants, guarantees, or provides the same rights, protections, and requirements as are provided by this Act, but any law of a State, a political subdivision thereof, or other such jurisdiction that purports to require or permit any action that would violate this Act shall to that extent be invalid. 6. Disclaimer of preemptive effect on other Acts Nothing in this Act shall limit any right, procedure, or remedy available under the Constitution of the United States or any other Act of Congress. 7. Severability of provisions If any provision of this Act or the application thereof to any person or circumstance is held invalid, the remaining provisions of this Act and the application of those provisions to other persons or circumstances shall not be affected thereby.