lay an egg vs take the role of

lay an egg

verb
  • To produce an egg. 

  • To produce a failure or flop; to do something which is unsuccessful. 

take the role of

How often have the words lay an egg and take the role of occurred in a corpus of books? (source: Google Ngram Viewer )