The 13-year-old had been used in an undercover operation to help catch a man she met on a dating app.