In any local law, ordinance or resolution, or in any public or judicial proceeding, or in any process, notice, order, decree, judgment, record or other public document or paper, the terms bastard or illegitimate child shall not be used but the term child born out of wedlock shall be used in substitution therefor and with the same force and effect.