The simple solution is to avoid conspiring with anyone to smuggle drugs into the prison in the first place. He knew it was illegal, he knew there would be punishemnt if caught and he knew he’d likely not enjoy the punishment. Plus, they caught him red-handed with the contraband in the eye dropper bottles.
Sorry Jailbird Joey, you lose. Learn from it. Avoid repeating that behavior.