; and (C) by inserting If a person who is a courier commits such a violation, the person shall be sentenced to a term of imprisonment of not less than 2 years and not more than life. If a person who is a courier commits such a violation after a prior conviction for a serious drug felony or serious violent felony has become final, the person shall be sentenced to a term of imprisonment of not less than 5 years and not more than life. before Notwithstanding section 3583 . (c) Applicability to Pending and Past Cases (1) Definition In this subsection, the term covered offense means a violation of a Federal criminal statute, the statutory penalties for which were modified by this section. (2) Pending cases This section, and the amendments made by this section, shall apply to any sentence imposed after the date of enactment of this Act, regardless of when the offense was committed. (3) Past cases In the case of a defendant who, before the date of enactment of this Act, was convicted or sentenced for a covered offense, the sentencing court may, on motion of the defendant, the Bureau of Prisons, the attorney for the Government, or on its own motion, impose a reduced sentence after considering the factors set forth in section 3553(a) of title 18, United States Code. 3. Directive to the Sentencing Commission (a) Directive to Sentencing Commission Pursuant to its authority under section 994(p) of title 28, United States Code, and in accordance with this section, the United States Sentencing Commission shall review and amend, if appropriate, its guidelines and its policy statements applicable to persons convicted of an offense under section 401 of the Controlled Substances Act ( 21 U.S.C. 841 ) or section 1010 of the Controlled Substances Import and Export Act ( 21 U.S.C. 960 ) to ensure that the guidelines and policy statements are consistent with the amendments made by section 2 of this Act. (b) Considerations In carrying out this section, the United States Sentencing Commission shall consider— (1) the mandate of the