A deputy prison governor and ex-prisoner acted together to carry out illegal checks, a court hears.

​A deputy prison governor and ex-prisoner acted together to carry out illegal checks, a court hears.