do duty vs understudy

do duty

understudy

verb
  • To act as an understudy (to someone). 

  • To study or know a role to such an extent as to be able to replace the normal performer when required. 

  • To act in a similar manner to some known person. 

noun
  • A performer who understudies; a standby. 

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