; or (B) fully complying with section 642 of the Illegal Immigration Reform and Immigrant Responsibility Act of 1996 ( 8 U.S.C. 1373 ), and, as a consequence of the statute or other legal requirement of the State or other political subdivision, the subdivision released the alien referred to in paragraph (1) from custody prior to the commission of the crime referred to in that paragraph, the State or other political subdivision that enacted the statute or other legal requirement, shall be deemed to be the proper defendant in a cause of action under this subsection, and no such cause of action may be maintained against the political subdivision which declined to honor the detainer. (4) Attorney’s fee and other costs In any action or proceeding under this subsection the court shall allow a prevailing plaintiff a reasonable attorneys fee as part of the costs, and include expert fees as part of the attorneys fee. 1111. Department of Homeland Security access to crime information databases Section 105(b) of the Immigration and Nationality Act ( 8 U.S.C. 1105(b) ) is amended— (1) in paragraph (1)— (A) by striking the Service and inserting the Department of Homeland Security ; and (B) by striking visa applicant or applicant for admission and inserting visa applicant, applicant for admission, applicant for adjustment of status, or applicant for any other benefit under the immigration laws