Therefore, a 22-year-old and a 17-year-old can legally have sexual relations under Massachusetts law.