That's not true. First a person could know that government people will punish them if they don't behave in a certain way, but that's not the same as actual consent.
For instance, if you had grown an illegal plant knowing you could be punished, that doesn't mean you consented to any punishment, it may have even meant you didn't want others to dictate how you would use your property, your time, resources and your body.
Certainly consent is important in human relationships, but you don't seem to be very consistent in how you apply that, Poopy Pants.