lacking in vs unaffected by

lacking in

unaffected by

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