A 23-year-old man has pleaded guilty to inciting a young girl to engage in sexual activity.