It seems a law such as this one will receive court challenges, since it abrogates what the scripture states in Genesis chapter 1:
King James Bible
And God said, Behold, I have given you every herb bearing seed, which is upon the face of all the earth, and every tree, in the which is the fruit of a tree yielding seed; to you it shall be for meat.
Besides, the law is in violation of Amendment #1, of speech is freedom.