I've never heard of bylaw officers being a thing in the US. There are some code enforcement people in the US, but they mostly deal in very specific areas (fire code, building code, etc).
This is true. Although, there have been sporadic recent creations of community safety teams and units that deal specifically with the unhoused populations or mentally ill people, as a result of the Black Lives Matter movement.