Erin Foster was “not allowed to talk to anybody” in the main cast outside of filming when she had a guest role on ‘The O.C.’.