not in danger of vs unaffected by

not in danger of

unaffected by

How often have the words not in danger of and unaffected by occurred in a corpus of books? (source: Google Ngram Viewer )