RichThesaurus
do duty for
vs
play the part of
do duty for
play the part of
How often have the words
do duty for
and
play the part of
occurred in a corpus of books?
(source:
Google Ngram Viewer
)