heading for the rocks vs in desperate straits

heading for the rocks

in desperate straits

How often have the words heading for the rocks and in desperate straits occurred in a corpus of books? (source: Google Ngram Viewer )