put behind bars vs put into detention

put behind bars

put into detention

How often have the words put behind bars and put into detention occurred in a corpus of books? (source: Google Ngram Viewer )