; to (II) the CPI–U for the calendar year 2 years before the calendar year described in clause (i). (2) Limitations on defined monetary assistance (A) In general A victim may only obtain defined monetary assistance under this subsection once. (B) Effect on recovery of other restitution A victim who obtains defined monetary assistance under this subsection shall not be barred or limited from receiving restitution against any defendant for any offenses not covered by this section. (C) Deduction If a victim who received defined monetary assistance under this subsection subsequently seeks restitution under this section, the court shall deduct the amount the victim received in defined monetary assistance when determining the full amount of the victim’s losses. (3) Limitations on eligibility A victim who has collected payment of restitution pursuant to this section in an amount greater than the amount provided for under paragraph (1)(D) shall be ineligible to receive defined monetary assistance under this subsection. (4) Attorney fees (A) In general An attorney representing a victim seeking defined monetary assistance under this subsection may not charge, receive, or collect, and the court may not approve, any payment of fees and costs that in the aggregate exceeds 15 percent of any payment made under this subsection. (B) Penalty An attorney who violates subparagraph (A) shall be fined under this title, imprisoned not more than 1 year, or both. . 5. Assessments in child pornography cases (a) Assessments in child pornography cases Chapter 110 of title 18, United States Code, is amended by inserting after section 2259 the following: 2259A. Assessments in child pornography cases (a) In general In addition to any other criminal penalty, restitution, or special assessment authorized by law, the court shall assess— (1) not more than $17,000 on any person convicted of an offense under section 2252(a)(4) or 2252A(a)(5); (2) not more than $35,000 on any person convicted of any other offense for trafficking in child pornography