guardhouse vs prison officer

guardhouse

noun
  • Synonym of military prison. 

  • A station for guards, especially at the entrance of a town, castle, etc. 

prison officer

noun
  • A person responsible for the supervision and security of prisoners. 

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