Many people have been prosecuted for this sort of thing, and it hasn't been declared unconstitutional.