Notwithstanding any other provision of law, probation departments may engage in activities designed to prevent juvenile delinquency. These activities include rendering direct and indirect services to persons in the community. Probation departments shall not be limited to providing services only to those persons on probation being supervised under Section 330 or 654, but may provide services to any juveniles in the community.