; and (B) in subparagraph (B), in the matter following clause (viii), by striking If any person commits such a violation after a prior conviction for a felony drug offense has become final and inserting the following: If any person commits such a violation after a prior conviction for a serious drug felony or serious violent felony has become final . (b) Controlled Substances Import and Export Act amendments Section 1010(b) of the Controlled Substances Import and Export Act ( 21 U.S.C. 960(b) ) is amended— (1) in paragraph (1), in the matter following subparagraph (H), by striking If any person commits such a violation after a prior conviction for a felony drug offense has become final, such person shall be sentenced to a term of imprisonment of not less than 20 years and inserting If any person commits such a violation after a prior conviction for a serious drug felony or serious violent felony has become final, such person shall be sentenced to a term of imprisonment of not less than 15 years ; and (2) in paragraph (2), in the matter following subparagraph (H), by striking felony drug offense and inserting serious drug felony or serious violent felony . (c) Applicability to pending cases This section, and the amendments made by this section, shall apply to any offense that was committed before the date of enactment of this Act, if a sentence for the offense has not been imposed as of such date of enactment. 402. Broadening of existing safety valve (a) Amendments Section 3553 of title 18, United States Code, is amended— (1) in subsection (f)— (A) in the matter preceding paragraph (1)— (i) by striking or section 1010 and inserting , section 1010 ; and (ii) by inserting , or section 70503 or 70506 of title 46 after 963) ; (B) by striking paragraph (1) and inserting the following: (1) the defendant does not have— (A) more than 4 criminal history points, excluding any criminal history points resulting from a 1-point offense, as determined under the sentencing guidelines