The USSC has ruled that individuals have protected rights under 2A.
Of course, and the states will have to structure their "Extreme Risk Protection Orders" laws accordingly, or risk having them overturned. Also, individuals can choose whether they wand to remain in a state that passed really repugnant ones, the old voting with your feet. Federal laws remove that basic individual choice. Putting it on the states is a win-win.