"American Pie" remains a classic after turning 20 this week, but actress Shannon Elizabeth believes some parts of the coming-of-age comedy haven't aged well.

One iconic scene in the 1999 film features her character Nadia being filmed without consent while changing in the bedroom of Jason Biggs' character, Jim Levenstein. He was trying to lose his virginity with her before high school graduation to complete a pact with his friends.

"If this had come out after the #MeToo movement, there would definitely be a problem," Elizabeth, 45, told Page Six.

After Jim accidentally broadcasts the webcam stream to his entire high school, the foreign exchange student is sent back to Slovakia. Levenstein – and his friends who were behind the recording – get off scot-free.

Today, "I think that it would have gone down differently," the actress said, after recalling, "Gosh, do I get sent home?"

Elizabeth also discussed precautions the crew took to make her as comfortable as possible while filming the controversial "Pie" scene, which turned her into a sex symbol.

"It was a closed set and it was just me in this room and the boom guy above me," she said. "I was like, 'This is so weird.' It was square room they had built in the middle of a warehouse and we made everyone that didn’t need to be there leave set. That’s the main thing I remember, just me and the boom guy, and trying to make jokes with the directors and make light of it, because if I wasn’t nervous maybe they wouldn’t be so nervous … I just tried to make it no big deal."

Despite the awkward memory, Elizabeth credits the film with launching her acting career. She celebrated the film's 20-year anniversary on Instagram Tuesday.

"Happy 20th #americanpie !! Thank you for being such a big part of my life...then, now & always!" she captioned a throwback picture of the cast. "It’s hard to even believe it’s been that long. It truly feels like last week, or last month. But 20 years? No way."

She continued: "This film is all about you – the way you can relate to a character, or an experience. That’s the beauty of the stories we told. Okay, maybe my storyline was a bit 'out there'. But it was fun none-the-less. Growing up is never easy. But hopefully a bunch of laughs along the way helped."