; (B) by striking the period at the end of clause (iii) and inserting , or ; and (C) by inserting after clause (iii) the following new clause: (iv) the production, refining, processing, transportation, or distribution of oil, natural gas, or any primary product thereof. . (2) Primary product Section 199(c)(4)(B) of the Internal Revenue Code of 1986 is amended by adding at the end the following flush sentence: For purposes of clause (iv), the term primary product has the same meaning as when used in section 927(a)(2)(C), as in effect before its repeal. . (3) Conforming amendments (A) Section 199(c)(4) of the Internal Revenue Code of 1986 is amended— (i) in subparagraph (A)(i)(III), by striking electricity, natural gas, and inserting electricity