do one’s duty vs heed

do one’s duty

heed

noun
  • Careful attention. 

verb
  • To mind; to regard with care; to take notice of; to attend to; to observe. 

How often have the words do one’s duty and heed occurred in a corpus of books? (source: Google Ngram Viewer )