prey on someone's mind vs take up all of someone's time

prey on someone's mind

take up all of someone's time

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