Perry says they made out feet away from her late ex-husband, Eddie Van Halen, in the '90s.
She writes in the clip, "Anyone misbehave in their 20s and early 30s? Are you mortified?" as Swift sings the lyrics, "It's me, hi, I'm the problem. It's me."
Many fans thought Bertinelli's TikTok was a reaction to the headline-making story that appears in Matthew Perry's upcoming memoir, Friends, Lovers, and the Big Terrible Thing.
In fact, Bertinelli all but confirmed it, after one commenter wrote, "That made me giggle... I saw the Matthew story this morning! You left an impression girl!! Good on ya!"
The Hot in Cleveland star replied to the commenter with an embarrassed face-covering emoji.
Perry, 53, and Bertinelli co-starred in the 1990 sitcom Sydney as brother and sister, but in an excerpt from his new memoir, Perry admits to falling "madly in love" with Bertinelli while she was married to Eddie Van Halen. Perry calls their marriage "troubled" and claims that one night at Van Halen's home, he shared a "long, elaborate make-out session" with Bertinelli while Van Halen was passed out drunk 10 feet away from them.
"I told her I had thought about doing that for a long time, and she had said it right back to me," he claims, adding that the next day Bertinelli allegedly acted like nothing had happened, leaving him "devastated," and after the sitcom was canceled, they didn't have to interact anymore.
For more from Perry's tell-all memoir, watch the clip below: