Onondaga County legislators voted to approve a local law that will allow private donors to make contributions to the aquarium project.