; and (B) has, as an element, the use or attempted use of physical force, or the threatened use of a deadly weapon, committed by a current or former spouse, parent, or guardian of the victim, by a person with whom the victim shares a child in common, by a person who is cohabiting with or has cohabited with the victim as a spouse, parent, or guardian, or by a person similarly situated to a spouse, parent, or guardian of the victim. (2) Gun offender The term gun offender means an individual who was convicted of a gun offense. (3) Gun offense (A) In general Except as provided in subparagraph (B), the term gun offense means a felony crime of domestic violence that involved a firearm (as such term is defined in section 921 of title 18, United States Code). (B) Exception The term gun offense does not include— (i) an offense under subparagraph (A), during the commission of which the offender possessed, but did not use or threaten to use a firearm