in custody vs in prison

in custody

in prison

prep
  • imprisoned; in a prison as a convict 

How often have the words in custody and in prison occurred in a corpus of books? (source: Google Ngram Viewer )