bang someone up vs put behind bars

bang someone up

put behind bars

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