Over the years, Sabrina Carpenter has gone from fangirling over Taylor Swift to becoming one of her closest friends.