be concerned with vs take pains

be concerned with

take pains

verb
  • To use care and effort (to do something) despite any corresponding trouble or inconvenience 

How often have the words be concerned with and take pains occurred in a corpus of books? (source: Google Ngram Viewer )