Mischa Barton refused to let ex “shame” her into silence over revenge porn plot