Neither sentence is correct.
It should be: “Sorry, Mary, you were wrong.”
It is not the location of the comma that should be of interest.
The noun, “Mary,” is being used in the vocative case, and, therefore, should be preceded and followed by a comma.
Catholic ako and until now hindi ko pa rin ito maintindihan. Why pray to Mary when I can directly pray to God who is omnipotent while Mary is just human?
Edit:
Did a bit of research, pray to God and to Jesus only.
1 Timothy 2:5 ESV
For there is one God, and there is one mediator between God...
TV Maria & Radio Maria Philippines (for Feast of the Immaculate Conception of Mary)
TV Maria is a national Catholic television channel broadcasting from Manila, Philippines managed by the Archdiocese of Manila in the service of the Catholic Bishops' Conference of the Philippines and owned by TV...