How does the government enforce laws against sodomy?
For the most part they do not enforce them as they would generally have to break the law (invade your privacy) to know this crime was even taking place. There are a few exceptions. And yes, there are many places that have laws against sodomy, and yes, every once in a while someone is actually charged with this crime.