A person who is or has been employed (whether as a detainee custody officer, prisoner custody officer or otherwise)—
is guilty of an offence if he discloses, otherwise than in the course of his duty or as authorised by the Secretary of State, any information which he acquired in the course of his employment and which relates to a particular detained person.
A person guilty of such an offence is liable—
"Contracted out functions" means functions which, as the result of a contract entered into under section 150, fall to be performed by detainee custody officers or certified prisoner custody officers.