The three-minute clip is the latest spoof from web series creator Jake Wilson. In the video, Willis is tasked with splashing sunblock on a variety of shirtless men as the song in the background encourages listeners to "rub that SPF on."
"Obviously I want my videos to be funny, but if I'm going to put my time and effort into something, I like to make it have a message as well," Wilson told MTV, adding that "Problem" is one of his favorite songs.
Wilson said he was inspired to create the PSA because his friend Nina developed minor skin cancer from sunburn.
"So, I thought what better way to get that message across than by having hot, sweaty guys dancing? Obviously," he said of the clip.
Wilson, who previously worked with Grande in his series The Battery's Down, said he hadn't contacted the singer yet about the song, because he knows she and her family are currently dealing with the death of her grandfather.
Willis's PSA comes two months after her younger sister, Scout Willis, also used her celebrity status to protest Instagram's nudity policies.