Because he is the most famous Best Song nominee (for "Happy"), and every awards show needs a pop star.

Now to the real question: How is Pharrell gonna lock down that EGOT? (EGOT = Emmy, Grammy, Oscar, and Tony)