perplex vs prey on someone's mind

perplex

verb
  • To cause to feel baffled; to puzzle. 

  • To involve; to entangle; to make intricate or complicated. 

prey on someone's mind

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