Prison worker accused of having secret ties to a male inmate