The converse may be true: sex may be more prevalent in media because sex is more accepted. Sex has been around in songs for decades. Sex has become more common in TV and in movies because boundaries get pushed over time.
50 Shades of Grey seems to have made non-vanilla perspectives on sex more mainstream. I wonder what effect the upcoming movie will have on mainstream culture.