State Bar opens investigation into prosecutor