guardhouse vs military prison

guardhouse

noun
  • Synonym of military prison. 

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

military prison

noun
  • A prison operated by the military. 

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