The purpose behind most statutory rape laws is to punish grown adults who take sexual advantage of a minor.
This offence is sometimes called "internet luring.
My Son Is Dating a Minor:
Description: Be aware that the law may be more complex than the chart shows and that the information given is subject to change. This is not always a straightforward exercise.