; or (2) any other grant administered by the Department of Justice that is substantially related to law enforcement (including enforcement of the immigration laws), immigration, enforcement of the immigration laws, or naturalization or administered by the Department of Homeland Security that is substantially related to immigration, the enforcement of the immigration laws, or naturalization. (c) Limitation on liability for compliance with detainer A State or unit of local government, and any law enforcement officer of such State or unit of local government, acting in compliance with a detainer issued by the Secretary of Homeland Security, shall be considered to be acting under color of Federal authority for purposes of determining liability, and immunity from suit, in any civil action brought by the alien under Federal or State law. (d) Probable cause It is the sense of Congress that the Department has probable cause to believe that an alien is inadmissible or deportable when it issues a detainer regarding such alien under the standards in place on the date of introduction of this Act. (e) Definitions In this section: (1) Department The term Department means the Department of Homeland Security. (2) Secretary The term Secretary means the Secretary of Homeland Security. (3) State The term State has the meaning given to such term in section 101(a)(36) of the Immigration and Nationality Act ( 8 U.S.C. 1101(a)(36) ). 3. Information sharing regarding criminal aliens Section 642 of the Illegal Immigration Reform and Immigrant Responsibility Act of 1996 ( 8 U.S.C. 1373 ) is amended— (1) by striking Immigration and Naturalization Service each place it appears and inserting Department of Homeland Security ; (2) in subsection (a), by striking may and inserting shall ; (3) in subsection (b)— (A) by striking no person or agency may and inserting a person or agency shall not ; and (B) by striking doing any of the following with respect to information and inserting undertaking any of the following law enforcement activities