California teen lawyer is sworn-in as a deputy district attorney