There can be a defense during a grand jury. I was on a grand jury where the accused man and wife presented their defense. The whole case was a political hit job and the majority of the grand jury agreed and we voted "no bill" and the Asst DA was pissed.
You cannot be compelled to testify in a Grand Jury proceeding.