Criminal Law Questions? Ask a Criminal Lawyer.
I don't know what the payoff would be, but you certainly committed a cardinal sin, and that is trusting the inmates, even a little bit. They will "get" whoever they can, and they don't even have to have a reason. As for your fellow guards, just your being gay might be enough to get them to set you up. I don't know what you can do to repair things, but if you belong to a union, make sure you go to the representative if anything at all happens. Being in the union means they cannot fire you for no reason at all, but the inmates can easily trump up something if they want to.
I would also suggest you start a journal (at home, of course) and write down the things that happen, the conversations, unusual events, etc.--no matter how small or seemingly unimportant. If it ever comes about that your job is in jeopardy because you are gay, you might need this record of events for the EEOC.
Don't let yourself be alone at any time with an inmate if possible. That way you will always have a witness and can't be accused of anything.
If you haven't openly professed to being gay, don't even hint at it now. Don't turn into another person, but keep up your "guard" at all times.
You have chosen a most difficult profession, and I wish you well.
DISCLAIMER: Answers from Experts on JustAnswer are not substitutes for the advice of an attorney. JustAnswer is a public forum and questions and responses are not private or confidential or protected by the attorney-client privilege. The Expert above is not your attorney, and the response above is not legal advice. You should not read this response to propose specific action or address specific circumstances, but only to give you a sense of general principles of law that might affect the situation you describe. Application of these general principles to particular circumstances must be done by a lawyer who has spoken with you in confidence, learned all relevant information, and explored various options. Before acting on these general principles, you should hire a lawyer licensed to practice law in the jurisdiction to which your question pertains.
The responses above are from individual Experts, not JustAnswer. The site and services are provided “as is”. To view the verified credential of an Expert, click on the “Verified” symbol in the Expert’s profile. This site is not for emergency questions which should be directed immediately by telephone or in-person to qualified professionals. Please carefully read the Terms of Service (last updated February 8, 2012).