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) includes any offense against the United States and any offense punishable under the laws of the District of Columbia; and (B) does not include— (i) a crime of violence; or (ii) an offense, if a child was a victim of the offense; (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 crime of violence has the meaning given that term in section 16; (5) 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; (6) the terms employee and officer have the meanings given the terms in section 2105 of title 5; (7) the term noncovered offense — (A) means an offense that is an offense against the United States or punishable under the laws of the District of Columbia; and (B) does not include an offense, if a child was a victim of the offense