; and (ii) relief in an action under this subsection may include money damages even if the defendant is such a governmental entity. (B) State governmental entity defined In this subsection, the term State governmental entity means a State, a local government within a State, and any agency or other governmental unit or subdivision of a State or of such a local government. (4) Relief In an action under this subsection, the court shall grant— (A) all necessary equitable and legal relief, including, where appropriate, declaratory relief and compensatory and punitive damages, to prevent the occurrence, continuance, or repetition of the designated failure and to compensate for losses resulting from the designated failure; and (B) to a prevailing plaintiff, reasonable attorneys’ fees and litigation expenses as part of the costs. . (b) Rule of construction The private right of action established under section 475A(c) of the Social Security Act with regard to a failure to comply with a case plan requirement in section 475(1) of such Act or a failure to comply with a case review system requirement in section 475(5) of such Act, as added by subsection (a) of this section, shall not be construed as an expression of congressional intent with respect to the creation of, or prohibition of, a private right of action with respect to a failure to comply with any other provision of title IV of Social Security Act. 10. Transparency in contracting with private child welfare service providers Section 422(b) of the Social Security Act ( 42 U.S.C. 622(b) ), as amended by section 7(c)(2)(A), is amended— (1) in paragraph (18), by striking and after the semicolon; (2) in paragraph (19), by striking the period at the end and inserting ; and