; and (2) if the actions of the officer, employee, or agent of the State or political subdivision were taken in compliance with the detainer— (A) the officer, employee, or agent shall be deemed— (i) to be an employee of the Federal Government and an investigative or law enforcement officer; and (ii) to have been acting within the scope of his or her employment under section 1346(b) and chapter 171 of title 28, United States Code; (B) section 1346(b) of title 28, United States Code, shall provide the exclusive remedy for the plaintiff; and (C) the United States shall be substituted as defendant in the proceeding. (c) Rule of construction Nothing in this section may be construed to provide immunity to any person who knowingly violates the civil or constitutional rights of an individual. 4. Authorization to issue detainers In the case of an alien who is in the custody of a Federal, State, or local law enforcement official, the Secretary of Homeland Security may issue a detainer for that alien requesting that the law enforcement official provide all relevant information collected pertaining to the alien and notification of any future release of the alien, or that the law enforcement official continue to detain the alien until the Secretary may take custody of the alien. The Secretary of Homeland Security is authorized to request from any entity that receives Federal funds in a fiscal year, for purposes of enforcing the immigration laws, pertinent information that pertains to an alien and that is not otherwise precluded by law from being disclosed.