Section 10G. The provisions of sections ten A to ten F, inclusive, shall not apply to persons registered under sections thirty-seven to forty, inclusive, of chapter one hundred and twelve.