; (B) in paragraph (2), in the matter preceding subparagraph (A), by inserting Secretary of Homeland Security or the before Attorney General ; and (C) in paragraph (3), by inserting Secretary of Homeland Security or the before Attorney General ; and (4) in subsection (d)— (A) in paragraph (1), by inserting Secretary of Homeland Security or the before Attorney General each place such term appears; (B) in paragraph (2), by striking Attorney General and inserting Secretary of Homeland Security ; and (C) in paragraph (5)— (i) in subparagraph (A), by striking Attorney General and inserting Secretary of Homeland Security ; and (ii) in subparagraph (B), by inserting Secretary of Homeland Security or the before Attorney General .