do someone a favor vs get someone out of a tight spot

do someone a favor

get someone out of a tight spot

How often have the words do someone a favor and get someone out of a tight spot occurred in a corpus of books? (source: Google Ngram Viewer )