I did not like Mayo's decision to punt in the fourth quarter--but it actually would have been fine if they had scored quicker, which they were totally on pace to do until just a comedic series of failed attempts to score near the goal line before the two minute warning. That killed so much time and made it so that the Bills only needed one first down to ice the game.
IDK if you want to blame overall coaching, playcalling, players underperforming, bad refereeing, whatever--the inability to score quickly, after doing a very good job moving the ball down the field in short order, was painful to watch and along with the free touchdown they handed Buffalo on the fumble, it cost them the game.