heading for the rocks vs with one's back against the wall

heading for the rocks

with one's back against the wall

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