on one's mind vs on the brain

on one's mind

adj
  • In one's thoughts, especially persistently or recurrently. 

  • Causing worry or preoccupation. 

on the brain

prep
  • Obsessively in mind. 

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