; and (2) the applicability of the exceptions and exemptions available under such section. (b) Regulations A Federal agency that contracts with, or provides funds to, an applicable entity to incarcerate or detain Federal prisoners in a non-Federal prison or detention facility shall promulgate regulations or guidance to ensure compliance by the applicable entity with subsection (a) . (c) No Federal funds for compliance No Federal funds may be used to assist applicable entities with compliance with this section or section 552 of title 5, United States Code. (d) Civil Action Any party aggrieved by a violation of section 552 of title 5, United States Code, by an applicable entity, as such section is applicable to such an entity in accordance with subsection (a) , may, in a civil action, obtain appropriate relief, including an award under subsection (a)(4)(E) of section 552 of such title 5, against the applicable entity for the violation. (e) Definitions In this section: (1) Applicable entity The term applicable entity means— (A) a nongovernmental entity that directly or indirectly contracts with or receives funds from the Federal Government to incarcerate or detain Federal prisoners in a Contract Facility; or (B) a State or local governmental entity with a contract or intergovernmental service agreement with the Federal Government to incarcerate or detain Federal prisoners in a Contract Facility. (2) Contract Facility The term Contract Facility means a prison or other correctional or detention facility that is— (A) owned or operated by a nongovernmental entity, a State, or a local government