Fixed #22195 -- Used constants to define built-in tags for check framework.

Thanks Elvard for the patch.