in dire straits vs with one's back against the wall

in dire straits

with one's back against the wall

How often have the words in dire straits and with one's back against the wall occurred in a corpus of books? (source: Google Ngram Viewer )