First-Principles Investigations On Raman Spectroscopy And Bulk Photovoltaic Effect