1. Short title This Act may be cited as the Trafficking Survivors Relief Act of 2017 . 2. Federal expungement for victims of trafficking (a) In general Chapter 237 of title 18, United States Code, is amended by adding at the end the following: 3772. Motion to vacate; expungement; mitigating factors (a) Definitions In this section— (1) the term child means an individual who has not attained 18 years of age; (2) the term covered offense — (A) means a Federal offense that is not— (i) a violent crime; or (ii) an offense of which a child was a victim; and (B) includes— (i) a conspiracy to commit an offense described in subparagraph (A)(i) of which a child was not a victim; and (ii) a conspiracy to commit an offense described in subparagraph (A)(ii) that is not a violent crime; (3) the term covered prisoner means an individual who— (A) was convicted of a noncovered offense before the date of enactment of this section; (B) was sentenced to a term of imprisonment for the noncovered offense; and (C) is imprisoned under such term of imprisonment; (4) the term eligible entity includes— (A) a legal aid society or legal services organization that provides indigent legal services; (B) a nonprofit organization that provides legal services to victims of trafficking; and (C) a public defender's office; (5) the terms employee and officer have the meanings given the terms in section 2105 of title 5; (6) the term Federal offense means an offense that is punishable under Federal law or the laws of the District of Columbia; (7) the term noncovered offense — (A) means a Federal offense that is a violent crime; (B) does not include a Federal offense that is a violent crime of which a child was a victim; and (C) includes a conspiracy to commit an offense described in subparagraph (B); (8) the term victim of trafficking has the meaning given that term in section 103 of the Trafficking Victims Protection Act of 2000 ( 22 U.S.C. 7102 )