It's not supposed to.
The last thing the Democrats want is for SCOTUS to throw out a federal AWB and thereby nullifying every state and local AWB that has been enacted.
It was passed with the understanding that it would die in the senate. They're throwing a bone to their base, that's all.
Maybe so, but they are also activating Second Amendment supporters, and educating new gun owners about how dangerous Democrats are to their rights.