Attorney defense during pre-trial investigation and criminal prosecution