Replace some guess_head_span
with def_span
#98519
Merged
guess_head_span
with def_span
#98519