Well, at the risk of upsetting you I might suggest some 'alpha maleness'. Stand up and SAY 'this has to stop' and set clearly DEFINED boundaries and hold her to them.
Don't act 'annoyed', BE annoyed. Tell her that this is NOT OK.
Not mean, just be a man and set some boundaries and rules. She's acting 17.