The rising singer-songwriter wrote the track with pop hitmaker Julia Michaels and Olivia Rodrigo collaborator Dan Nigro.