Democrats say that the law goes against a Supreme Court ruling from a decade ago.