The legislation includes enhanced background checks for gun buyers under 21 and a strengthened "boyfriend loophole" to prevent people convicted of domestic violence from owning guns.