; and (2) Congress is committed to continuing to find solutions as needed to thwart human traffickers and protect survivors of human trafficking. 6. Human trafficking defense (a) In general Chapter 1 of title 18, United States Code, is amended by adding at the end the following: 28. Human trafficking defense (a) Definition In this section, the term covered Federal offense means a level A offense or level B offense, as those terms are defined in section 3772. (b) Presumption of duress In a prosecution for a covered Federal offense, a defendant who establishes by clear and convincing evidence that the defendant was a victim of trafficking at the time at which the defendant committed the offense shall create a rebuttable presumption that the offense was induced by duress. (c) Record or proceeding under seal In any proceeding in which a defense under subsection (b) is raised, any record or part of the proceeding related to the defense shall, on motion, be placed under seal until such time as a conviction is entered for the offense. (d) Post-Conviction relief A failure to assert, or failed assertion of, a defense under subsection (b) by an individual who is convicted of a covered Federal offense may not preclude the individual from asserting as a mitigating factor, at sentencing or in a proceeding for any post-conviction relief, that at the time of the commission of the offense, the defendant was a victim of trafficking and committed the offense under duress. (e) Federal aid A failure to assert, or failed assertion of, a defense under subsection (b) by an individual who is convicted of a covered Federal offense may not be used for the purpose of disqualifying the individual from participating in any federally funded program that aids victims of human trafficking. . (b) Technical and conforming amendment The table of sections for chapter 1 of title 18, United States Code, is amended by adding at the end the following: 28. Human trafficking defense. .