Complex sentence: Aguilera performed the song in 2010 on the British television show The X Factor the sexual content featured in the performance gained criticism and gained an investigation by Ofcom.
Split into simpler sentences: Aguilera performed the song in 2010 on the British television show The X Factor. The sexual content featured in the performance garnered criticism and lead to an investigation by Ofcom.