; and (B) in paragraph (3), by inserting Secretary of Homeland Security or the before Attorney General ; (2) in subsection (b)(2), by inserting Secretary of Homeland Security or the before Attorney General each place such term appears; (3) in subsection (c)— (A) in paragraph (1), by striking Attorney General each place such term appears and inserting Secretary of Homeland Security ; and (B) 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 ; (C) in paragraph (3), by inserting Secretary of Homeland Security or the before Attorney General each place such term appears; (D) in paragraph (5)— (i) in subparagraph (A), by inserting Secretary of Homeland Security or the before Attorney General ; and (ii) in subparagraph (B), by inserting Secretary of Homeland Security or the before Attorney General ; and (E) in paragraph (6), by inserting Secretary of Homeland Security or the before Attorney General each place such term appears.