Peyronie's Disease isn't something you're born with. I wouldn't think it's that, and a lot of penises have curves. It just depends on how curved it is if it is a problem.
Only a doctor can tell you if this is a problem, and if this lump is a problem. I know right now, this is probably the last thing you want - tell an adult that your penis has a lump and a curve and you have pain with masturbating, etc.
Are your parents safe to talk to about these things? Is there a trusted adult you can go to? You don't need to detail the masturbation, or explain the edging. Just say that when you have an erection - which is normal 17 and often happen without your control at your age - you have some pain and you've noticed a lump.
You don't even need to explain the curve if you don't want to until you see the doctor.
If you were my kid, I'd want you to tell me instead of wondering, scared, and I'd be proud of you for advocating for yourself on a sensitive topic.
Even if you've had sex, this doesn't sound like a sexually transmitted infection, so you don't need to bring that up, either.
Just get it checked, and let us know what happens.