This is unconstitutional. If Congress can compel you to buy something in the name of the greater good, then what limits are there to their power? It is a clear violation of the Constitution.
The way around this was to impose a tax, which is considered constitutional under years of court...