Exciton-polariton mediated nonlinear optics in a hybrid optomechanical system