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