; (J) the number of visits to terminally ill prisoners that were denied by the Bureau of Prisons due to security or other concerns, and the reasons given for each denial; and (K) the number of motions filed by defendants with the court after all administrative rights to appeal a denial of a sentence reduction had been exhausted, the outcome of each motion, and the time that had elapsed between the date the request was first received by the Bureau of Prisons and the date the defendant filed the motion with the court. . 504. Identification for returning citizens (a) Identification and release assistance for Federal prisoners Section 231(b) of the Second Chance Act of 2007 ( 34 U.S.C. 60541(b) ) is amended— (1) in paragraph (1)— (A) by striking (including and inserting prior to release from a term of imprisonment in a Federal prison or if the individual was not sentenced to a term of imprisonment in a Federal prison, prior to release from a sentence to a term in community confinement, including ; and (B) by striking or birth certificate) prior to release and inserting and a birth certificate ; and (2) by adding at the end the following: (4) Definition In this subsection, the term community confinement means residence in a community treatment center, halfway house, restitution center, mental health facility, alcohol or drug rehabilitation center, or other community facility. . (b) Duties of the Bureau of Prisons Section 4042(a) of title 18, United States Code, is amended— (1) by redesignating paragraphs (D) and (E) as paragraphs (6) and (7), respectively; (2) in paragraph (6) (as so redesignated)— (A) in clause (i)— (i) by striking Social Security Cards, ; and (ii) by striking and at the end; (B) by redesignating clause (ii) as clause (iii); (C) by inserting after clause (i) the following: (ii) obtain identification, including a social security card, driver's license or other official photo identification, and a birth certificate; and