It’s a squalid situation. The private investigator has compromising photos, and if she doesn’t want her husband to see them, she has to do all of the kinky things the PI wants. The least of these is the bondage caning…
"...the girls are prepared in the reformatory’s punishment room, naked, lying on their backs on special benches, bound with their legs spread above their heads, shamefully showing the two holes usually hidden..."