be uppermost in someone's mind vs prey on someone's mind

be uppermost in someone's mind

prey on someone's mind

How often have the words be uppermost in someone's mind and prey on someone's mind occurred in a corpus of books? (source: Google Ngram Viewer )