'Meant To Be' hitmaker Bebe Rexha says famous friend Katy Perry taught her how to deal with social media trolls by shutting out online bullies.