Prevent drupal from adding a favicon from default directory in custom theme
I found a solution. in Appearance>Mytheme>Settings, there is an option to uncheck shortcut settings. 

After unchecking that option the link provided in mytheme_preprocess_html was able to display the favicon unopposed.