>>20359182That's a different law. If the age difference between two people is less than 2 years it's legal for them to have consensual sex no matter how old they are.
The standard law regarding 18 and 16-year-olds is that anyone is allowed to have sex with someone over the age of 16, but sexual videos and photos of someone under 18 is still considered child porn. There's been a ridiculous amount of bullshit cases in America where 18 year olds have been taken to court for possession of nudes their 17 year old girlfriend took of themselves, since the law says that's child porn even though they're legally allowed to fuck as much as they want.